package com.demo.entity;

import java.io.Serializable;
import lombok.Data;

/**
 * (Medicine)实体类
 *
 * @author Sakura
 * @since 2023-11-26 17:11:07
 */
@Data
public class Medicine implements Serializable {
    private static final long serialVersionUID = -16897330590042650L;

    private Long id;

    /**
     * 药品名称
     */
    private String name;

    /**
     * 药品图片
     */
    private String image;

    /**
     * 价格
     */
    private Double price;

    /**
     * 库存
     */
    private Integer stock;

    /**
     * 0 非处方药 1 处方药
     */
    private Integer isPrescription;

    /**
     * 药品分类
     */
    private Long categoryId;

    /**
     * 药品描述
     */
    private String content;

}


